package com.ruoyi.gcgl.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目立项对象 gc_project
 * 
 * @author ruoyi
 * @date 2022-11-17
 */
public class GcProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String orderNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;
    
    @Excel(name = "项目协议名称")
    private String groupName;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 总金额 */
    @Excel(name = "总金额")
    private Double zongje;

    /** 描述 */
    @Excel(name = "描述")
    private String descs;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    private String spr;
    private Date sprAt;
    private String zjlsh;
    private Date zjlshAt;
    private String owner;
    private String jsNo;
    
    private String flag;
    private String namevo;
    
    private String spyj;
    
	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getSpyj() {
		return spyj;
	}

	public void setSpyj(String spyj) {
		this.spyj = spyj;
	}
    
    public String getNamevo() {
		return namevo;
	}

	public void setNamevo(String namevo) {
		this.namevo = namevo;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getJsNo() {
		return jsNo;
	}

	public void setJsNo(String jsNo) {
		this.jsNo = jsNo;
	}

	public String getZjlsh() {
		return zjlsh;
	}

	public void setZjlsh(String zjlsh) {
		this.zjlsh = zjlsh;
	}

	public Date getZjlshAt() {
		return zjlshAt;
	}

	public void setZjlshAt(Date zjlshAt) {
		this.zjlshAt = zjlshAt;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setZongje(Double zongje) 
    {
        this.zongje = zongje;
    }

    public Double getZongje() 
    {
        return zongje;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    
	public String getSpr() {
		return spr;
	}

	public void setSpr(String spr) {
		this.spr = spr;
	}

	public Date getSprAt() {
		return sprAt;
	}

	public void setSprAt(Date sprAt) {
		this.sprAt = sprAt;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((customerName == null) ? 0 : customerName.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((descs == null) ? 0 : descs.hashCode());
		result = prime * result + ((flag == null) ? 0 : flag.hashCode());
		result = prime * result
				+ ((groupName == null) ? 0 : groupName.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((jsNo == null) ? 0 : jsNo.hashCode());
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		result = prime * result + ((namevo == null) ? 0 : namevo.hashCode());
		result = prime * result + ((orderNo == null) ? 0 : orderNo.hashCode());
		result = prime * result + ((owner == null) ? 0 : owner.hashCode());
		result = prime * result + ((spr == null) ? 0 : spr.hashCode());
		result = prime * result + ((sprAt == null) ? 0 : sprAt.hashCode());
		result = prime * result + ((spyj == null) ? 0 : spyj.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result + ((zjlsh == null) ? 0 : zjlsh.hashCode());
		result = prime * result + ((zjlshAt == null) ? 0 : zjlshAt.hashCode());
		result = prime * result + ((zongje == null) ? 0 : zongje.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GcProject other = (GcProject) obj;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (customerName == null) {
			if (other.customerName != null)
				return false;
		} else if (!customerName.equals(other.customerName))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (descs == null) {
			if (other.descs != null)
				return false;
		} else if (!descs.equals(other.descs))
			return false;
		if (flag == null) {
			if (other.flag != null)
				return false;
		} else if (!flag.equals(other.flag))
			return false;
		if (groupName == null) {
			if (other.groupName != null)
				return false;
		} else if (!groupName.equals(other.groupName))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (jsNo == null) {
			if (other.jsNo != null)
				return false;
		} else if (!jsNo.equals(other.jsNo))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (namevo == null) {
			if (other.namevo != null)
				return false;
		} else if (!namevo.equals(other.namevo))
			return false;
		if (orderNo == null) {
			if (other.orderNo != null)
				return false;
		} else if (!orderNo.equals(other.orderNo))
			return false;
		if (owner == null) {
			if (other.owner != null)
				return false;
		} else if (!owner.equals(other.owner))
			return false;
		if (spr == null) {
			if (other.spr != null)
				return false;
		} else if (!spr.equals(other.spr))
			return false;
		if (sprAt == null) {
			if (other.sprAt != null)
				return false;
		} else if (!sprAt.equals(other.sprAt))
			return false;
		if (spyj == null) {
			if (other.spyj != null)
				return false;
		} else if (!spyj.equals(other.spyj))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (zjlsh == null) {
			if (other.zjlsh != null)
				return false;
		} else if (!zjlsh.equals(other.zjlsh))
			return false;
		if (zjlshAt == null) {
			if (other.zjlshAt != null)
				return false;
		} else if (!zjlshAt.equals(other.zjlshAt))
			return false;
		if (zongje == null) {
			if (other.zongje != null)
				return false;
		} else if (!zongje.equals(other.zongje))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "GcProject [id=" + id + ", orderNo=" + orderNo
				+ ", customerName=" + customerName + ", groupName=" + groupName
				+ ", name=" + name + ", zongje=" + zongje + ", descs=" + descs
				+ ", status=" + status + ", deleteFlag=" + deleteFlag
				+ ", createUser=" + createUser + ", createAt=" + createAt
				+ ", updateUser=" + updateUser + ", updateAt=" + updateAt
				+ ", spr=" + spr + ", sprAt=" + sprAt + ", zjlsh=" + zjlsh
				+ ", zjlshAt=" + zjlshAt + ", owner=" + owner + ", jsNo="
				+ jsNo + ", flag=" + flag + ", namevo=" + namevo + ", spyj="
				+ spyj + "]";
	}
}